LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Invoke(Delegate,Object[]) Method
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class > Invoke Method : Invoke(Delegate,Object[]) Method



method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.
method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.
Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Invoke( _
   ByVal method As Delegate, _
   ByVal ParamArray args() As Object _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim method As Delegate
Dim args() As Object
Dim value As Object
 
value = instance.Invoke(method, args)
C# 
public object Invoke( 
   Delegate method,
   params object[] args
)
C++/CLI 
public:
Object^ Invoke( 
   Delegate^ method,
   ... array<Object^>^ args
) 

Parameters

method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.

Return Value

An System.Object that contains the return value from the delegate being invoked, or null if the delegate has no return value.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features